﻿@model FilmBookingTicket.Models.Actor

@{
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <table class="table striped bordered hovered" style="margin: 0px 0px 0px 40px">
        <tr>
            <td>@Html.HiddenFor(model => model.ActorId)

                <div>
                    @Html.LabelFor(model => model.Name)
                </div>
            </td>
            <td>
                <div>
                    @Html.LabelFor(model => model.Nation)
                </div>
            </td>
            <td>
                <div>
                    @Html.LabelFor(model => model.Nation)
                </div>
            </td>
            <tr>
                <td>
                    <div class="input-control text">
                        @Html.EditorFor(model => model.Name)
                        @Html.ValidationMessageFor(model => model.Name)
                    </div>
                </td>
                <td>
                    <div class="input-control text">
                        @Html.EditorFor(model => model.Nation)
                        @Html.ValidationMessageFor(model => model.Nation)
                    </div>
                </td>
            </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="Save" />
            </td>
        </tr>
        <tr>
            <td>
                <div>
                    @Html.ActionLink("Back to List", "Index")
                </div>
            </td>
        </tr>

    </table>
 

      

     
   
   

    
}




